package com.example.nirvana.springframework5.beans.factory;

import com.example.nirvana.springframework2.beans.factory.BeansException;

public interface BeanFactory {
    Object getBean(String name) throws Exception;

    Object getBean(String name, Object... args) throws BeansException;
}
